%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% FACHHOCHSCHULE SALZBURG GMBH
%% Informationstechnik und System-Management
%%
%% Salzburg University of Applied Sciences
%% Information Technologies and Systems Management
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% Bachelor Thesis 2
%% LaTeX template
%%
%% Style definitions for listings V1.0.0
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\lstset{
	basicstyle=\ttfamily\small
}

\lstdefinestyle{FHLstStyle} {
	basicstyle=\ttfamily\small,
	commentstyle=\color[rgb]{0,0.5,0}\textit,
	xleftmargin=3em,
	xrightmargin=3em,
	captionpos=b,
	tabsize=4,
	numbers=left,
	stepnumber=1,
	numbersep=0.5cm,
	frame=tblr
}

\lstnewenvironment{lstStyleMain}[3][] {
	\lstset {
		%language=XML,
		style=FHLstStyle,
		morekeywords={ybcdefgh},
		caption=#2,
		label=#3,
		#1
	}
	%\lstset{numbers=left}
}{}
